package com.windoent.yugioh.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * author : robert
 * date   : 2021/5/31 16:09
 * desc   :
 */
public class SaiShiListDataBean {

    /**
     * code : 200
     * data : {"banner":[{"title":"赛事1","image":"images/banner2.jpg","url":{"type":"","id":""}},{"title":"赛事2","image":"images/banner1.png","url":{"type":"","id":""}},{"title":"赛事3","image":"images/banner2.jpg","url":{"type":"","id":""}}],"count":6,"limit":"10","matchRoleListView":{"customer":"商家","customerReferee":"商家+主裁判","notJoin":"没有参加","pReferee":"主裁判","pending":"角色正在审核中","player":"选手","referee":"裁判","visitor":"游客"},"matchStatusView":{"2":"报名中","3":"进行中","8":"已结束"},"matchTypeView":{"0":"全部","1":"娱乐赛","2":"积分赛","3":"特殊赛","4":"巡回赛"},"matchs":[{"id":26,"statusId":2,"name":"王者荣耀","address":"河北省 石家庄市 长安区 归零世界","addressPosition":"{\"latitude\":31.2494,\"longitude\":121.397}","type":1,"startAt":"2021-06-23 16:00","role":"pending","startAtTimestamp":1624464000,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":200,"alreadySignedUp":0,"countdown":0}}},{"id":28,"statusId":2,"name":"绝地求生","address":"山西省 阳泉市 矿区 挖矿广场","addressPosition":"{\"latitude\":31.2494,\"longitude\":121.397}","type":1,"startAt":"2021-06-23 16:00","role":"notJoin","startAtTimestamp":1624464000,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":200,"alreadySignedUp":0,"countdown":0}}},{"id":39,"statusId":2,"name":"典韦3号","address":"北京市 北京市 东城区 我们的大大方方反反复复反反复复地问了一下","addressPosition":"{\"longitude\":\"116.418757\",\"latitude\":\"39.917544\"}","type":1,"startAt":"2021-07-03 06:51","role":"notJoin","startAtTimestamp":1625295060,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":20,"alreadySignedUp":0,"countdown":0}}},{"id":21,"statusId":2,"name":"欢乐斗地主","address":"上海市 上海市 普陀区 臣风大厦","addressPosition":"{\"latitude\":\"31.228806\",\"longitude\":\"121.379402\"}","type":1,"startAt":"2021-08-01 00:19","role":"customer","startAtTimestamp":1627777184,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":22,"alreadySignedUp":1,"countdown":0}}},{"id":35,"statusId":2,"name":"梦幻西游","address":"上海市 上海市 普陀区 真北路近铁广场","addressPosition":"{\"latitude\":31.2494,\"longitude\":121.397}","type":1,"startAt":"2021-10-29 16:00","role":"pReferee","startAtTimestamp":1635523200,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":40,"alreadySignedUp":0,"countdown":0}}},{"id":33,"statusId":2,"name":"进行中比赛测试（勿动）","address":"上海市 上海市 普陀区 臣风大厦","addressPosition":"{\"latitude\":\"31.228806\",\"longitude\":\"121.379402\"}","type":1,"startAt":"2021-10-31 16:00","role":"notJoin","startAtTimestamp":1635696012,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":12,"alreadySignedUp":3,"countdown":0}}}],"page":"1"}
     * msg : 查询成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * banner : [{"title":"赛事1","image":"images/banner2.jpg","url":{"type":"","id":""}},{"title":"赛事2","image":"images/banner1.png","url":{"type":"","id":""}},{"title":"赛事3","image":"images/banner2.jpg","url":{"type":"","id":""}}]
         * count : 6
         * limit : 10
         * matchRoleListView : {"customer":"商家","customerReferee":"商家+主裁判","notJoin":"没有参加","pReferee":"主裁判","pending":"角色正在审核中","player":"选手","referee":"裁判","visitor":"游客"}
         * matchStatusView : {"2":"报名中","3":"进行中","8":"已结束"}
         * matchTypeView : {"0":"全部","1":"娱乐赛","2":"积分赛","3":"特殊赛","4":"巡回赛"}
         * matchs : [{"id":26,"statusId":2,"name":"王者荣耀","address":"河北省 石家庄市 长安区 归零世界","addressPosition":"{\"latitude\":31.2494,\"longitude\":121.397}","type":1,"startAt":"2021-06-23 16:00","role":"pending","startAtTimestamp":1624464000,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":200,"alreadySignedUp":0,"countdown":0}}},{"id":28,"statusId":2,"name":"绝地求生","address":"山西省 阳泉市 矿区 挖矿广场","addressPosition":"{\"latitude\":31.2494,\"longitude\":121.397}","type":1,"startAt":"2021-06-23 16:00","role":"notJoin","startAtTimestamp":1624464000,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":200,"alreadySignedUp":0,"countdown":0}}},{"id":39,"statusId":2,"name":"典韦3号","address":"北京市 北京市 东城区 我们的大大方方反反复复反反复复地问了一下","addressPosition":"{\"longitude\":\"116.418757\",\"latitude\":\"39.917544\"}","type":1,"startAt":"2021-07-03 06:51","role":"notJoin","startAtTimestamp":1625295060,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":20,"alreadySignedUp":0,"countdown":0}}},{"id":21,"statusId":2,"name":"欢乐斗地主","address":"上海市 上海市 普陀区 臣风大厦","addressPosition":"{\"latitude\":\"31.228806\",\"longitude\":\"121.379402\"}","type":1,"startAt":"2021-08-01 00:19","role":"customer","startAtTimestamp":1627777184,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":22,"alreadySignedUp":1,"countdown":0}}},{"id":35,"statusId":2,"name":"梦幻西游","address":"上海市 上海市 普陀区 真北路近铁广场","addressPosition":"{\"latitude\":31.2494,\"longitude\":121.397}","type":1,"startAt":"2021-10-29 16:00","role":"pReferee","startAtTimestamp":1635523200,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":40,"alreadySignedUp":0,"countdown":0}}},{"id":33,"statusId":2,"name":"进行中比赛测试（勿动）","address":"上海市 上海市 普陀区 臣风大厦","addressPosition":"{\"latitude\":\"31.228806\",\"longitude\":\"121.379402\"}","type":1,"startAt":"2021-10-31 16:00","role":"notJoin","startAtTimestamp":1635696012,"bottom":{"type":2,"title":{"text":"报名中","signUpTotal":12,"alreadySignedUp":3,"countdown":0}}}]
         * page : 1
         */

        private int count;
        private String limit;
        private MatchRoleListViewBean matchRoleListView;
        private MatchStatusViewBean matchStatusView;
        private MatchTypeViewBean matchTypeView;
        private String page;
        private List<BannerBean> banner;
        private List<MatchsBean> matchs;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getLimit() {
            return limit;
        }

        public void setLimit(String limit) {
            this.limit = limit;
        }

        public MatchRoleListViewBean getMatchRoleListView() {
            return matchRoleListView;
        }

        public void setMatchRoleListView(MatchRoleListViewBean matchRoleListView) {
            this.matchRoleListView = matchRoleListView;
        }

        public MatchStatusViewBean getMatchStatusView() {
            return matchStatusView;
        }

        public void setMatchStatusView(MatchStatusViewBean matchStatusView) {
            this.matchStatusView = matchStatusView;
        }

        public MatchTypeViewBean getMatchTypeView() {
            return matchTypeView;
        }

        public void setMatchTypeView(MatchTypeViewBean matchTypeView) {
            this.matchTypeView = matchTypeView;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public List<MatchsBean> getMatchs() {
            return matchs;
        }

        public void setMatchs(List<MatchsBean> matchs) {
            this.matchs = matchs;
        }

        public static class MatchRoleListViewBean {
            /**
             * customer : 商家
             * customerReferee : 商家+主裁判
             * notJoin : 没有参加
             * pReferee : 主裁判
             * pending : 角色正在审核中
             * player : 选手
             * referee : 裁判
             * visitor : 游客
             */

            private String customer;
            private String customerReferee;
            private String notJoin;
            private String pReferee;
            private String pending;
            private String player;
            private String referee;
            private String visitor;

            public String getCustomer() {
                return customer;
            }

            public void setCustomer(String customer) {
                this.customer = customer;
            }

            public String getCustomerReferee() {
                return customerReferee;
            }

            public void setCustomerReferee(String customerReferee) {
                this.customerReferee = customerReferee;
            }

            public String getNotJoin() {
                return notJoin;
            }

            public void setNotJoin(String notJoin) {
                this.notJoin = notJoin;
            }

            public String getPReferee() {
                return pReferee;
            }

            public void setPReferee(String pReferee) {
                this.pReferee = pReferee;
            }

            public String getPending() {
                return pending;
            }

            public void setPending(String pending) {
                this.pending = pending;
            }

            public String getPlayer() {
                return player;
            }

            public void setPlayer(String player) {
                this.player = player;
            }

            public String getReferee() {
                return referee;
            }

            public void setReferee(String referee) {
                this.referee = referee;
            }

            public String getVisitor() {
                return visitor;
            }

            public void setVisitor(String visitor) {
                this.visitor = visitor;
            }
        }

        public static class MatchStatusViewBean {
            /**
             * 2 : 报名中
             * 3 : 进行中
             * 8 : 已结束
             */

            @SerializedName("2")
            private String _$2;
            @SerializedName("3")
            private String _$3;
            @SerializedName("8")
            private String _$8;

            public String get_$2() {
                return _$2;
            }

            public void set_$2(String _$2) {
                this._$2 = _$2;
            }

            public String get_$3() {
                return _$3;
            }

            public void set_$3(String _$3) {
                this._$3 = _$3;
            }

            public String get_$8() {
                return _$8;
            }

            public void set_$8(String _$8) {
                this._$8 = _$8;
            }
        }

        public static class MatchTypeViewBean {
            /**
             * 0 : 全部
             * 1 : 娱乐赛
             * 2 : 积分赛
             * 3 : 特殊赛
             * 4 : 巡回赛
             */

            @SerializedName("0")
            private String _$0;
            @SerializedName("1")
            private String _$1;
            @SerializedName("2")
            private String _$2;
            @SerializedName("3")
            private String _$3;
            @SerializedName("4")
            private String _$4;

            public String get_$0() {
                return _$0;
            }

            public void set_$0(String _$0) {
                this._$0 = _$0;
            }

            public String get_$1() {
                return _$1;
            }

            public void set_$1(String _$1) {
                this._$1 = _$1;
            }

            public String get_$2() {
                return _$2;
            }

            public void set_$2(String _$2) {
                this._$2 = _$2;
            }

            public String get_$3() {
                return _$3;
            }

            public void set_$3(String _$3) {
                this._$3 = _$3;
            }

            public String get_$4() {
                return _$4;
            }

            public void set_$4(String _$4) {
                this._$4 = _$4;
            }
        }


        public static class MatchsBean {
            /**
             * id : 26
             * statusId : 2
             * name : 王者荣耀
             * address : 河北省 石家庄市 长安区 归零世界
             * addressPosition : {"latitude":31.2494,"longitude":121.397}
             * type : 1
             * startAt : 2021-06-23 16:00
             * role : pending
             * startAtTimestamp : 1624464000
             * bottom : {"type":2,"title":{"text":"报名中","signUpTotal":200,"alreadySignedUp":0,"countdown":0}}
             */

            private int id;
            private int statusId;
            private String name;
            private String address;
            private String addressPosition;
            private int type;
            private String startAt;
            private String role;
            private int startAtTimestamp;
            private BottomBean bottom;
            private int rule;
            public int getRule() {
                return rule;
            }

            public void setRule(int rule) {
                this.rule = rule;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getStatusId() {
                return statusId;
            }

            public void setStatusId(int statusId) {
                this.statusId = statusId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getAddressPosition() {
                return addressPosition;
            }

            public void setAddressPosition(String addressPosition) {
                this.addressPosition = addressPosition;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getStartAt() {
                return startAt;
            }

            public void setStartAt(String startAt) {
                this.startAt = startAt;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }

            public int getStartAtTimestamp() {
                return startAtTimestamp;
            }

            public void setStartAtTimestamp(int startAtTimestamp) {
                this.startAtTimestamp = startAtTimestamp;
            }

            public BottomBean getBottom() {
                return bottom;
            }

            public void setBottom(BottomBean bottom) {
                this.bottom = bottom;
            }

            public static class BottomBean {
                /**
                 * type : 2
                 * title : {"text":"报名中","signUpTotal":10,"alreadySignedUp":3,"countdown":0}
                 */

                private int type;
                private int action;
                private TitleBean title;

                public int getAction() {
                    return action;
                }

                public void setAction(int action) {
                    this.action = action;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public TitleBean getTitle() {
                    return title;
                }

                public void setTitle(TitleBean title) {
                    this.title = title;
                }

                public static class TitleBean {
                    /**
                     * text : 报名中
                     * signUpTotal : 10
                     * alreadySignedUp : 3
                     * countdown : 0
                     */

                    private String text;
                    private int signUpTotal;
                    private int alreadySignedUp;
                    private int countdown;
                    private boolean isReserve;

                    public boolean isReserve() {
                        return isReserve;
                    }

                    public void setReserve(boolean reserve) {
                        isReserve = reserve;
                    }

                    public boolean isFirst() {
                        return first;
                    }

                    public void setFirst(boolean first) {
                        this.first = first;
                    }

                    private boolean first = true;

                    public String getText() {
                        return text;
                    }

                    public void setText(String text) {
                        this.text = text;
                    }

                    public int getSignUpTotal() {
                        return signUpTotal;
                    }

                    public void setSignUpTotal(int signUpTotal) {
                        this.signUpTotal = signUpTotal;
                    }

                    public int getAlreadySignedUp() {
                        return alreadySignedUp;
                    }

                    public void setAlreadySignedUp(int alreadySignedUp) {
                        this.alreadySignedUp = alreadySignedUp;
                    }

                    public int getCountdown() {
                        return countdown;
                    }

                    public void setCountdown(int countdown) {
                        this.countdown = countdown;
                    }
                }
            }
        }
    }
}
